import _00SetFunc as ss
import __00SetRelation as sr

#随机生成R和S，构建关系RUS
m,n,n1,n2=20,20,20,35
X=set(range(m))
Y=set(range(n))
R=sr.createrelation(X,Y,n1)
S=sr.createrelation(X,Y,n2)
RS=set(R)|set(S)
ss.drawgraph(RS)
print("R,S",R,S)
print("RS",RS)